def square(number):
    return number ** 2


def is_even(number):
    if number % 2 == 0:
        return True
    else:
        print("wrong")
        return False


num = eval(input("请输入数字"))
if is_even(num):
    result = square(num)
    print(result)
